<template>
  <an-radio :options="options" filedLabel="name" filedValue="id" inline/>
</template>

<script setup>
import { ref,reactive } from 'vue'

const state = reactive({
  options: [
    {
      name: '选项一',
      id: '1',
      disabled: true
    },
    {
      name: '选项二',
      id: '2'
    },
    {
      name: '选项三',
      id: '3'
    }
  ]
})

const {options} = state
</script>
